<template>
    <div class="panel-heading">
        <div class="panel-lead">
            <div class="title">{{porps.route.meta.name}}</div>
            <p class="description">{{porps.route.meta.describe}}</p>
        </div>
    </div>
</template>

<script setup>
const porps = defineProps({
    route:{
        type:Object,
        default:{
            meta: {
                name: '默认标题',
                describe: '默认描述'
            }
        }
    }
})
// console.log('porps', porps);
</script>

<style lang="less" scoped>
.panel-heading{
    padding: 15px;
    background: #e8edf0;
    border-color: #e8edf0;
    position: relative;
    .panel-lead{
        font-size: 14px;
        .title{
            font-weight: bold;
            font-style: normal;
        }
        .description{
            margin-top: 5px;
        }
    }
}
</style>